<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<title>Document</title>
	<script src="../lib/vue.js"></script>
	<style>
	</style>
</head>
<body>
	<div id="box">
		<input type="text" @keyup.13="show()">
		<input type="text" @keyup.q="show()">
	</div>
	
	<script>
		var vm = new Vue({
			el: "#box",
			data: {
				
			},
			methods:{
				show: function(){
					// e.preventDefault();
					console.log(1)
				}
			}
		});
	</script>
</body>
</html>